package com.library.domain;


import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.library.common.annotation.Excel;
import com.library.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @Author julyWhj
 * @Description $
 * @Date 2022/3/25 4:53 下午
 **/
public class AppActivity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long activityId;

    /**
     * 活动编号
     */
    @Excel(name = "活动编号")
    private String activityNo;

    /**
     * 活动标题
     */
    @Excel(name = "活动标题")
    private String activityTitle;

    /**
     * 活动封面
     */
    @Excel(name = "活动封面")
    private String activityCoverImage;

    /**
     * 活动副标题
     */
    @Excel(name = "活动副标题")
    private String activitySubtitle;

    /**
     * 活动类型
     */
    @Excel(name = "活动类型")
    private String activityType;

    /**
     * 活动状态
     */
    @Excel(name = "活动状态")
    private Long activityStatus;

    /**
     * 活动开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityStartTime;

    /**
     * 活动结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityEndTime;

    /**
     * 活动详情
     */
    @Excel(name = "活动详情")
    private String activityDetails;

    /**
     * 活动创建人
     */
    @Excel(name = "活动创建人")
    private String userId;

    /**
     * 企业ID
     */
    @Excel(name = "企业ID")
    private Long deptId;

    /**
     * 扩展字段1
     */
    @Excel(name = "扩展字段1")
    private String ext1;

    /**
     * 扩展字段2
     */
    @Excel(name = "扩展字段2")
    private String ext2;

    /**
     * 扩展字段3
     */
    @Excel(name = "扩展字段3")
    private String ext3;

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityNo(String activityNo) {
        this.activityNo = activityNo;
    }

    public String getActivityNo() {
        return activityNo;
    }

    public void setActivityTitle(String activityTitle) {
        this.activityTitle = activityTitle;
    }

    public String getActivityTitle() {
        return activityTitle;
    }

    public void setActivityCoverImage(String activityCoverImage) {
        this.activityCoverImage = activityCoverImage;
    }

    public String getActivityCoverImage() {
        return activityCoverImage;
    }

    public void setActivitySubtitle(String activitySubtitle) {
        this.activitySubtitle = activitySubtitle;
    }

    public String getActivitySubtitle() {
        return activitySubtitle;
    }

    public void setActivityType(String activityType) {
        this.activityType = activityType;
    }

    public String getActivityType() {
        return activityType;
    }

    public void setActivityStatus(Long activityStatus) {
        this.activityStatus = activityStatus;
    }

    public Long getActivityStatus() {
        return activityStatus;
    }

    public void setActivityStartTime(Date activityStartTime) {
        this.activityStartTime = activityStartTime;
    }

    public Date getActivityStartTime() {
        return activityStartTime;
    }

    public void setActivityEndTime(Date activityEndTime) {
        this.activityEndTime = activityEndTime;
    }

    public Date getActivityEndTime() {
        return activityEndTime;
    }

    public void setActivityDetails(String activityDetails) {
        this.activityDetails = activityDetails;
    }

    public String getActivityDetails() {
        return activityDetails;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3;
    }

    public String getExt3() {
        return ext3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("activityId", getActivityId())
                .append("activityNo", getActivityNo())
                .append("activityTitle", getActivityTitle())
                .append("activityCoverImage", getActivityCoverImage())
                .append("activitySubtitle", getActivitySubtitle())
                .append("activityType", getActivityType())
                .append("activityStatus", getActivityStatus())
                .append("activityStartTime", getActivityStartTime())
                .append("activityEndTime", getActivityEndTime())
                .append("activityDetails", getActivityDetails())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("ext1", getExt1())
                .append("ext2", getExt2())
                .append("ext3", getExt3())
                .toString();
    }
}
